Repository navigation
refactor(telemetry): rename global source flag to --biz-from (avoid bizSource/callSource collisions) - #337
Merged
Conversation
bizSource collided with the alert API request field and callSource with the log inference-list flag (reserved-flag guard). Rename the global telemetry source flag to --biz-from (bizFrom) across GLOBAL_FLAGS/settings/event/tracker/tests/docs; AEM c6 mapping unchanged. alert bizSource and log callSource left untouched.
Keep the user-facing changelog focused on the flag and per-source usage analysis; AEM c6/ext mapping stays in the internal telemetry-change doc.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The global telemetry source flag originally named
--biz-source(bizSource) collided semantically with the alert API request fieldbizSource: "bailian"; renaming to--call-source(callSource) then hit the registry reserved-flag guard becauselog inference-listalready declares acallSourceflag (Online/Offline).Change
Rename the global flag to
--biz-from(bizFrom), which is free of both collisions. Full chain: GLOBAL_FLAGS -> buildSettings -> settings.bizFrom -> tracker -> TrackingEvent.bizFrom -> AEM ext + dedicated flat column c6. alertbizSourceand logcallSourceleft untouched. Tests/docs/CHANGELOG(2.11.0)/reference updated.Verification
core 94 passed; cli registry.smoke 491 passed (full registry, no reserved-flag conflict); vp check 0 errors; sync:skill-assets OK; real --help shows --biz-from.
Release note
2.11.0 tag currently points at the pre-rename commit and its Publish run is stuck on OSS upload; coordinate re-run/tag handling when landing this before 2.11.0 publishes.